VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



'Multy check boxes select one in a row [works like a option buttons]

by Sreeram.P (16 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 9th May 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

'Multy check boxes select one in a row [works like a option buttons]

API Declarations


Private selectedItem as integer

Rate 'Multy check boxes select one in a row [works like a option buttons]



Dim i As Integer
        If ind = selectedItem Then
            Exit Sub
        Else
            selectedItem = ind
            For i = startid To endid
                If i <> selectedItem Then
                    chktest(i).Value = 0
                End If
            Next
            chktest(selectedItem).Value = 1
        End If
End Sub

Private Sub chktest_Click(Index As Integer)
 Call fuChkClear(0, 4, Index)
end sub


Download this snippet    Add to My Saved Code

'Multy check boxes select one in a row [works like a option buttons] Comments

No comments have been posted about 'Multy check boxes select one in a row [works like a option buttons]. Why not be the first to post a comment about 'Multy check boxes select one in a row [works like a option buttons].

Post your comment

Subject:
Message:
0/1000 characters